<%@page import="org.springframework.security.web.WebAttributes"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE>
<html>
<head>
<p:meta/>
<title>登录</title>
</head>
<body>
<div id="login_div">
	<div style="position:relative;">
	
        <div style="position:absolute; left:113px; top:80px; cursor:pointer;color: red;">
        <c:if test="${not empty SPRING_SECURITY_LAST_EXCEPTION}">登录失败，请重试.</c:if>
        </div>
		<form id="frm" action="<c:url value='j_spring_security_check'/>" method="post">
	    	<div id="login_name_div" style="position:absolute; left:114px; top:125px;">
	    		<div style="font-size:28px;">登录</div>
	    		<div style="height:10px;"></div>
	    		<div>用户名:</div>
	    		<div style="height:2px;"></div>
  				<input type="text" id="login_name" name="j_username" style="width:250px;"/>
	        </div>
	       
			<div id="password_div" style="position:absolute; left:114px; top:217px;">
	    		<div>密&nbsp;&nbsp;&nbsp;&nbsp;码:</div>
	    		<div style="height:2px;"></div>
				<s:password id="password" name="j_password" cssStyle="width:250px;" size="13"/>
	        </div>
			<div id="saveCookie_div" style="position:absolute; left:113px; top:280px; cursor:pointer;">
				<div style="float:left; margin-top:-2px;"><input id="saveCookie" type="checkbox" /></div>
				<div style="float:left;">&nbsp;记住用户名</div>
		        <input type="submit" value="登录" >
	        </div>
	  </form>
  </div>
</div>
</body>
</html>